package com.wish.blessingroad.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wish.blessingroad.entity.Blessing;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

/**
 * <p>
 * 祝福表 Mapper 接口
 * </p>
 *
 * @author dhc
 * @since 2019-02-18
 */
@Mapper
public interface BlessingMapper extends BaseMapper<Blessing> {
    @Update("update blessing set status=#{status} where endDate<#{time}")
    void deleteEndDate(String time,int status);
/* @Select("SELECT id,usernumber,content,status,status,service_id,create_time FROM ${tableName} WHERE usernumber=#{usernumber} limit 0,5")
    public List<User> selectListSelect(User user);*/

}
